<!DOCTYPE html>

<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

<title>roll_die.feature - RDoc Documentation</title>

<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "../../";
</script>

<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>


<body class="file">
<nav id="metadata">
  <nav id="home-section" class="section">
  <h3 class="section-header">
    <a href="../../index.html">Home</a>
    <a href="../../table_of_contents.html#classes">Classes</a>
    <a href="../../table_of_contents.html#methods">Methods</a>
  </h3>
</nav>


  <nav id="search-section" class="section project-section" class="initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <h3 class="section-header">
      <input type="text" name="search" placeholder="Search" id="search-field"
             title="Type to search, Up and Down to navigate, Enter to load">
    </h3>
  </form>

  <ul id="search-results" class="initially-hidden"></ul>
</nav>


  

  <div id="project-metadata">
    <nav id="fileindex-section" class="section project-section">
  <h3 class="section-header">Pages</h3>

  <ul>
  
    <li class="file"><a href="../../LICENSE.html">LICENSE</a>
  
    <li class="file"><a href="../../README_md.html">README</a>
  
    <li class="file"><a href="../../doc/created_rid.html">created.rid</a>
  
    <li class="file"><a href="../../features/physh_roller/parse_dice_roll_string_feature.html">parse_dice_roll_string.feature</a>
  
    <li class="file"><a href="../../features/physh_roller/roll_dice_feature.html">roll_dice.feature</a>
  
    <li class="file"><a href="../../features/physh_roller/roll_die_feature.html">roll_die.feature</a>
  
    <li class="file"><a href="../../physh_roller_gemspec.html">physh_roller.gemspec</a>
  
  </ul>
</nav>

    <nav id="classindex-section" class="section project-section">
  <h3 class="section-header">Class and Module Index</h3>

  <ul class="link-list">
  
    <li><a href="../../Object.html">Object</a>
  
    <li><a href="../../Output.html">Output</a>
  
    <li><a href="../../PhyshRoller.html">PhyshRoller</a>
  
    <li><a href="../../PhyshRoller/DiceRoll.html">PhyshRoller::DiceRoll</a>
  
    <li><a href="../../PhyshRoller/Die.html">PhyshRoller::Die</a>
  
    <li><a href="../../PhyshRoller/FateRoll.html">PhyshRoller::FateRoll</a>
  
  </ul>
</nav>

  </div>
</nav>

<div id="documentation" class="description">
  
<p>Feature: Simple Die Roll</p>

<pre>As a user
I want to roll a die
To generate a random number between 1 and the number of sides on the die

Scenario Outline: Roll a die
        Given I want to roll a die with &quot;&lt;sides_on_die&gt;&quot; sides
        When I roll the die
        Then the result should be between &quot;1&quot; and &quot;&lt;sides_on_die&gt;&quot;

        Scenarios: different sides on die
        | sides_on_die |
        | 2                                              |
        | 6            |
        | 12           |
        | 100          |
        | 1000         |
        | 3            |</pre>

</div>



<footer id="validator-badges">
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
</footer>

